package com.shuangti.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("community_posts")
@Data
public class CommunityPostTbl {

    @TableId(type = IdType.AUTO)
    private Integer postId;

    private Integer userId;

    private String content ;

    private String tags;

    private Integer likes;

    private Integer shares;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;
}
